import request from '@/utils/request'

export const authApi = {
    login(data) {
        return request.post('/sys/auth/login', data)
    },
    logout() {
        return request.post('/sys/auth/logout')
    }
}
